package data_types;

import java.awt.Component;
import java.lang.reflect.Type;

import javax.swing.JLabel;

public class SimpleField implements ParameterField {
	private Object value;
	private Component component;
	private JLabel label;
	private Type type;
	
	public SimpleField(Component component, JLabel label, Type type) {
		this.component = component;
		this.label = label;
		this.type = type;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;		
	}

	public Component getComponent() {
		return component;
	}

	public JLabel getLabel() {
		return label;
	}

	public Type getType() {
		return type;
	}
}
